using MoonFramework.FSM;
using UnityEngine;

namespace Entity.Player.State
{
    public class PlayerDeadState : DeadState
    {
        protected override void DeadOver()
        {
            _actor.viewController.GetComponent<Collider>().enabled = false;
            GameSceneManager.Instance.CloseAndSaveGame();
            // GameSceneManager.Instance.EndGame().Forget();
        }
    }
}